package com.taxigang.client.uibinder;

import com.google.gwt.user.client.ui.DecoratedPopupPanel;

public class AGB {
	
	final DecoratedPopupPanel simplePopup = new DecoratedPopupPanel(true);

	
	AGBText text = new AGBText();

	public AGB(){
		simplePopup.setWidget(text);		
	}

	protected void setPosition(int left,int top){
		simplePopup.setPopupPosition(left, top);

	}
	
	public void show(){
		simplePopup.show();
	}

	public void setPopupPosition(int left, int top) {
		simplePopup.setPopupPosition(left, top);
		
	}

}
